package com.slingshot.identitysdk.base

import android.annotation.SuppressLint
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.app.AppCompatActivity
import com.liushiyu.sofia.msofia.Sofia
import com.slingshot.identitysdk.R

/**
 * @author liu shuai
 * 描述：
 */
@SuppressLint("Registered")
open class BaseActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        actionBar?.hide()

        Sofia.with(this).invasionStatusBar()
            .statusBarBackground(ContextCompat.getColor(this, R.color.color_theme_blue))
    }
}